This XFCN takes a string separated by colons, (i. e. path name such as that returned by, Steve Maller's Filename XFCN) and returns the balance of the characters following the last colon.
This is free. All I ask is to be notified of any suggestions or bugs found, and a credit line if you use it in released stacks. LightSpeed C source available on request.
Copyright 1988. All rights reserved.
Dwight Mayo
GEnie, MacNet - DMAYO
Compuserve - 76257,3303
-- part contents for background part 27
----- text -----
XFCN
-- part contents for background part 7
----- text -----
Syntax:
LastPathItem(<string>[,<quoteFlag>])
string: is a colon delimited string i.e. (my hard disk:my folder:my file) it will return (my file)
quoteFlag: is optional. If a T or t is supplied then the returned string will be placed in quotes i.e. ("my file")